package cn.lang.auth.service.impl;

import cn.lang.auth.mapper.UserMapper;
import cn.lang.auth.pojo.entity.SysUserEntity;
import cn.lang.auth.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Lang 1102076808@qq.com
 * @description
 * @date 2020-06-20 08:24
 */
@Service
public class UserServiceImpl implements IUserService {

	@Resource
	private UserMapper userMapper;

	@Override
	public SysUserEntity getByUsername(String username) {
		return userMapper.queryByUsername(username);
	}
}
